import gamelib.main as lib
from pygame.locals import *
import os, sys

main = lib.Game()

clock = lib.pygame.time.Clock()

main.registerActor(lib.object.Player('player', '4', (6,6), main.currentMap.name), True, main.currentMap.name)
main.registerActor(lib.object.NPC('jones', '3', (3,3), main.currentMap.name), False, main.currentMap.name)
main.registerActor(lib.object.NPC('freak', '2', (5,3), main.currentMap.name), False, main.currentMap.name)

pl = main.findActorByName('enemy')

Running = True

main.mainLoop()
